<?php

namespace app\validate;

use think\Validate;

class Store extends Validate
{
    protected $rule =   [
        'name'  => 'require',
        "image" => "require",
        "address" => "require",
        "phone" => "require",
    ];

    protected $message  =   [
        'name.require' => '店铺名称必填',
        "image.require" => "店铺图片必填",
        "address.require" => "店铺地址必填",
        "phone.require" => "店铺电话必填",
    ];
}
